#include <cstdio>
using namespace std;
//给定线段[l1,r1] [l2,r2]
bool fun1(int l1,int r1,int l2,int r2){
	return max(l1,l2)<min(r1,r2);
}
//给定矩形[x1,y1,x2,y2] [x3,y3,x4,y4]
bool fun2(int x1,int y1,int x2,int y2,int x3,int y3,int x4,int y4){
	return max(x1,x3)<min(y1,y3) && max(x2,x4)<min(y2,y4);
}
int main(void){
	return 0:
}
